#ifndef __MP_EVENTLOOP_H__
#define __MP_EVENTLOOP_H__

#include "ev++.h"

class EventLoop
{
private:
    EventLoop();
    ~EventLoop();

private:
    ev::dynamic_loop *m_loop;

public:
    static EventLoop *get_instance();
    static void run();

    ev::dynamic_loop* get_loop();
};

#endif